import layer from "@/components/layout/index.vue";
export default [
  {
    path: "/",
    name: "layer",
    redirect: "/home",
    component: layer,
    meta: {
      title: '主页'
    },
    children: []
  },
  {
    path: "/login",
    name: "login",
    component: () =>
      import(/* webpackChunkName: "login" */ "@/views/login/index.vue"),
    meta: {
      title: "登录页面",
    },
  },
  {
    path: "/page403",
    name: "page403",
    component: () =>
      import(
        /* webpackChunkName: "page403" */ "@/components/error/page403.vue"
      ),
    meta: {
      title: "403",
    },
  },
  {
    path: "/page404",
    name: "page404",
    component: () =>
      import(
        /* webpackChunkName: "page404" */ "@/components/error/page404.vue"
      ),
    meta: {
      title: "404",
    },
  },
];
